package com.example.designpatten.chapter6_decoratorpattern;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class PersonInstance extends Person{

    public PersonInstance(String name) {
        super(name);
    }

    @Override
    public void show() {
        log.info("装扮的" + this.getName());
    }
}
